﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UI
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void 维修接单ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            maintain  Fm = new maintain ();
            //Fm.MdiParent = this;
            this.Hide();
            Fm.ShowDialog();
            this.Show();
           
        }

        private void 员工信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StaffMassage Fm = new StaffMassage();
            //Fm.MdiParent = this;
            this.Hide();
            Fm.ShowDialog();
            this.Show();
        }

        private void 住户信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UserMessage Fm = new UserMessage();
            //Fm.MdiParent = this;
            this.Hide();
            Fm.ShowDialog();
            this.Show();
            
        }

        private void 物业报修ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Repairs  Fm = new Repairs ();
            //Fm.MdiParent = this;
            this.Hide();
            Fm.ShowDialog();
            this.Show();
            
        }
    }
}
